﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>锤子好工长 - {site.name}</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="<%templateskin%>/css/common.css" rel="stylesheet" type="text/css" />
<link href="{config.webpath}css/pagination.css" rel="stylesheet" />
<link href="<%templateskin%>/css/style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" charset="utf-8" src="{config.webpath}scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="<%templateskin%>/js/common.js"></script>

</head>

<body>
<!--Header-->
<%template src="_header.html"%>
<!--/Header--> 

<!--内页面大标题-->
<div class="nbanner" style="background:url(<%templateskin%>/images/gzlist-banner.jpg) center; width:100%;height:255px;"> </div>
<!--内页面大标题-->

<div class="section clearfix">
  <div class="gz-list-b">
   <%set DataTable foremanList=get_foreman_list(pagesize,page,"status=0","fore_isred desc,fore_istop desc,id desc", out totalcount, out pagelist,"foreman_list","__id__")%><!--取得一个分页DataTable-->
      <%foreach(DataRow dr in foremanList.Rows)%>
       <dl>
      <dt>
        <div class="tx"><a target="_blank" href="<%linkurl("foreman_show",{dr[id]})%>"><img src="{dr[avatar]}" width="180" height="180" alt=""></a></div>
      </dt>
      <dd class="dd-w1">
        <div class="titt">{dr[nick_name]}
          <div class="qq"><a title="点我联系" href="javascript:alert('赶快联系我吧……！')"><img src="<%templateskin%>/images/2.gif" width="23px" height="16px"></a></div>
          <div class="li2-bg"><span class="star{dr[fore_level]} active"></span></div>
        </div>
        <div class="zz-w"><b>{dr[fore_level]}星级</b>工长，{dr[address]}人，有<b><%=get_foreman_work({dr[fore_work]})%></b>工作经验</div>
        <p class="ellipsis"><%cutstring({dr[fore_info]},102)%></p>
        <div class="a-w">
          <div class="btn1 designBtn" onclick="ForemanApply('design','免费帮我量房','{dr[id]}','{dr[nick_name]}')">免费帮我量房</div>
          <div class="btn2 quotedBtn" onclick="ForemanApply('price','免费帮我报价','{dr[id]}','{dr[nick_name]}')">免费帮我报价</div>
        </div>
        <%if({dr[fore_isred]}=="1")%>
        <div class="foreman_isred">锤子推荐</div>
        <%/if%>
      </dd>
    </dl>
       <%/foreach%>
  
      <!--页码列表-->
    <div class="page-box">
      <div class="digg">{pagelist}</div>
    </div>
    <!--/页码列表-->
    
  </div>
</div>

<!--Footer-->
<%template src="_footer.html"%>
<!--/Footer-->
</body>
</html>